.class public Lcom/donson/momark/b/q;
.super Ljava/lang/Object;


# static fields
.field private static a:Lcom/donson/momark/a/a/a;

.field private static d:Lcom/donson/momark/a/q;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/donson/momark/a/r;Lcom/donson/momark/a/u;)V
    .locals 4

    if-nez p4, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    const/4 v0, 0x0

    :try_start_0
    new-instance v1, Ljava/lang/String;

    invoke-virtual {p1}, Ljava/lang/String;->getBytes()[B

    move-result-object v2

    const-string v3, "UTF-8"

    invoke-direct {v1, v2, v3}, Ljava/lang/String;-><init>([BLjava/lang/String;)V

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "----------------ReturnInfoParser.parseReturnInfo---------"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/donson/momark/util/t;->a(Ljava/lang/String;)V

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_2

    const-string v2, "{"

    invoke-virtual {v1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_5

    :cond_2
    sget-object v1, Lcom/donson/momark/util/e;->a:Ljava/lang/String;

    invoke-virtual {p2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_3

    sget-object v1, Lcom/donson/momark/util/e;->h:Ljava/lang/String;

    invoke-virtual {p2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    :cond_3
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, " ReturnInfoParser.parseReturnInfo "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " 40014:init "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "interface,back data is empty or not json format."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/donson/momark/util/t;->a(Ljava/lang/String;)V

    :cond_4
    sget-object v1, Lcom/donson/momark/util/e;->h:Ljava/lang/String;

    invoke-virtual {p2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    new-instance v1, Lcom/donson/momark/a/a/y;

    const v2, 0x9c4e

    invoke-direct {v1, v2}, Lcom/donson/momark/a/a/y;-><init>(I)V

    invoke-virtual {p4, v1}, Lcom/donson/momark/a/u;->a(Lcom/donson/momark/a/a/y;)V
    :try_end_0
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_1

    goto :goto_0

    :catch_0
    move-exception v1

    const-string v2, " ReturnInfoParser.parseReturnInfo 40002:Characters converter is not available."

    invoke-static {v2, v1}, Lcom/donson/momark/util/t;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v1, Lcom/donson/momark/a/a/y;

    const v2, 0x9c42

    invoke-direct {v1, v2}, Lcom/donson/momark/a/a/y;-><init>(I)V

    invoke-virtual {p4, v1}, Lcom/donson/momark/a/u;->a(Lcom/donson/momark/a/a/y;)V

    :goto_1
    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-eqz v1, :cond_0

    sget-object v1, Lcom/donson/momark/util/e;->a:Ljava/lang/String;

    if-ne p2, v1, :cond_6

    invoke-static {v0, p0, p3, p4}, Lcom/donson/momark/b/q;->a(Lorg/json/JSONObject;Landroid/content/Context;Lcom/donson/momark/a/r;Lcom/donson/momark/a/u;)V

    goto/16 :goto_0

    :cond_5
    :try_start_1
    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2, v1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
    :try_end_1
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_1 .. :try_end_1} :catch_0
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_1

    move-object v0, v2

    goto :goto_1

    :catch_1
    move-exception v1

    const-string v2, " ReturnInfoParser.parseReturnInfo 40005:init interface data format error."

    invoke-static {v2, v1}, Lcom/donson/momark/util/t;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v1, Lcom/donson/momark/a/a/y;

    const v2, 0x9c45

    invoke-direct {v1, v2}, Lcom/donson/momark/a/a/y;-><init>(I)V

    invoke-virtual {p4, v1}, Lcom/donson/momark/a/u;->a(Lcom/donson/momark/a/a/y;)V

    goto :goto_1

    :cond_6
    sget-object v1, Lcom/donson/momark/util/e;->g:Ljava/lang/String;

    if-ne p2, v1, :cond_7

    invoke-static {v0}, Lcom/donson/momark/b/q;->a(Lorg/json/JSONObject;)V

    goto/16 :goto_0

    :cond_7
    sget-object v1, Lcom/donson/momark/util/e;->h:Ljava/lang/String;

    if-ne p2, v1, :cond_8

    invoke-static {v0, p0, p3, p4}, Lcom/donson/momark/b/q;->d(Lorg/json/JSONObject;Landroid/content/Context;Lcom/donson/momark/a/r;Lcom/donson/momark/a/u;)V

    goto/16 :goto_0

    :cond_8
    sget-object v1, Lcom/donson/momark/util/e;->j:Ljava/lang/String;

    if-ne p2, v1, :cond_9

    invoke-static {v0}, Lcom/donson/momark/b/q;->d(Lorg/json/JSONObject;)V

    goto/16 :goto_0

    :cond_9
    sget-object v1, Lcom/donson/momark/util/e;->w:Ljava/lang/String;

    if-ne p2, v1, :cond_a

    invoke-static {v0}, Lcom/donson/momark/b/q;->e(Lorg/json/JSONObject;)V

    goto/16 :goto_0

    :cond_a
    sget-object v1, Lcom/donson/momark/util/e;->b:Ljava/lang/String;

    if-ne p2, v1, :cond_0

    invoke-static {v0}, Lcom/donson/momark/b/q;->g(Lorg/json/JSONObject;)V

    goto/16 :goto_0
.end method

.method private static a(Lorg/json/JSONObject;)V
    .locals 0

    return-void
.end method

.method private static a(Lorg/json/JSONObject;Landroid/content/Context;Lcom/donson/momark/a/r;Lcom/donson/momark/a/u;)V
    .locals 12

    const v11, 0x9c45

    iget-object v0, p2, Lcom/donson/momark/a/r;->d:Lcom/donson/momark/a/a/u;

    :try_start_0
    const-string v1, "mt"

    invoke-virtual {p0, v1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v1

    const-string v2, "it"

    invoke-virtual {p0, v2}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v2

    const-string v3, "iu"

    invoke-virtual {p0, v3}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v3

    const-string v4, "rurl"

    invoke-virtual {p0, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    const-string v5, "burl"

    invoke-virtual {p0, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    const-string v6, "lurl"

    invoke-virtual {p0, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    const-string v7, "murl"

    invoke-virtual {p0, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    sput-object v4, Lcom/donson/momark/util/e;->p:Ljava/lang/String;

    sput-object v5, Lcom/donson/momark/util/e;->q:Ljava/lang/String;

    sput-object v6, Lcom/donson/momark/util/e;->r:Ljava/lang/String;

    sput-object v7, Lcom/donson/momark/util/e;->s:Ljava/lang/String;

    const-string v8, "bl"

    invoke-virtual {p0, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    const-string v9, "err"

    invoke-virtual {p0, v9}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v9

    const-string v10, "cp"

    invoke-virtual {p0, v10}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v10

    sput v10, Lcom/donson/momark/util/e;->l:I

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/u;->a(I)V

    invoke-virtual {v0, v2}, Lcom/donson/momark/a/a/u;->d(I)V

    invoke-virtual {v0, v3}, Lcom/donson/momark/a/a/u;->e(I)V

    invoke-virtual {v0, v4}, Lcom/donson/momark/a/a/u;->a(Ljava/lang/String;)V

    invoke-virtual {v0, v5}, Lcom/donson/momark/a/a/u;->d(Ljava/lang/String;)V

    invoke-virtual {v0, v6}, Lcom/donson/momark/a/a/u;->e(Ljava/lang/String;)V

    invoke-virtual {v0, v7}, Lcom/donson/momark/a/a/u;->g(Ljava/lang/String;)V

    invoke-virtual {v0, v9}, Lcom/donson/momark/a/a/u;->g(I)V

    invoke-virtual {v0, v10}, Lcom/donson/momark/a/a/u;->h(I)V

    new-instance v1, Landroid/widget/ImageView;

    invoke-direct {v1, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/u;->a(Landroid/widget/ImageView;)V

    new-instance v1, Lcom/donson/momark/util/r;

    invoke-direct {v1}, Lcom/donson/momark/util/r;-><init>()V

    const/4 v2, 0x7

    invoke-virtual {v1, v8, v2, p3}, Lcom/donson/momark/util/r;->a(Ljava/lang/String;ILcom/donson/momark/a/u;)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/u;->a(Landroid/graphics/Bitmap;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    :goto_0
    return-void

    :catch_0
    move-exception v0

    const-string v1, " ReturnInfoParser.parseInitInfo 40005:init interface data format error."

    invoke-static {v1, v0}, Lcom/donson/momark/util/t;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v0, Lcom/donson/momark/a/a/y;

    invoke-direct {v0, v11}, Lcom/donson/momark/a/a/y;-><init>(I)V

    invoke-virtual {p3, v0}, Lcom/donson/momark/a/u;->a(Lcom/donson/momark/a/a/y;)V

    goto :goto_0

    :catch_1
    move-exception v0

    const-string v1, " ReturnInfoParser.parseInitInfo 40005:init interface data format error."

    invoke-static {v1, v0}, Lcom/donson/momark/util/t;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v0, Lcom/donson/momark/a/a/y;

    invoke-direct {v0, v11}, Lcom/donson/momark/a/a/y;-><init>(I)V

    invoke-virtual {p3, v0}, Lcom/donson/momark/a/u;->a(Lcom/donson/momark/a/a/y;)V

    goto :goto_0
.end method

.method private static d(Lorg/json/JSONObject;)V
    .locals 0

    return-void
.end method

.method private static d(Lorg/json/JSONObject;Landroid/content/Context;Lcom/donson/momark/a/r;Lcom/donson/momark/a/u;)V
    .locals 2

    :try_start_0
    const-string v0, "st"

    invoke-virtual {p0, v0}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    invoke-static {p0, p1, p2, p3}, Lcom/donson/momark/b/q;->g(Lorg/json/JSONObject;Landroid/content/Context;Lcom/donson/momark/a/r;Lcom/donson/momark/a/u;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    const-string v1, " ReturnInfoParser.parseAdInfo 40005:init interface data format error."

    invoke-static {v1, v0}, Lcom/donson/momark/util/t;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v0, Lcom/donson/momark/a/a/y;

    const v1, 0x9c45

    invoke-direct {v0, v1}, Lcom/donson/momark/a/a/y;-><init>(I)V

    invoke-virtual {p3, v0}, Lcom/donson/momark/a/u;->a(Lcom/donson/momark/a/a/y;)V

    goto :goto_0

    :pswitch_2
    :try_start_1
    invoke-static {p0, p1, p2, p3}, Lcom/donson/momark/b/q;->e(Lorg/json/JSONObject;Landroid/content/Context;Lcom/donson/momark/a/r;Lcom/donson/momark/a/u;)V
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_2
        :pswitch_0
    .end packed-switch
.end method

.method private static e(Lorg/json/JSONObject;)V
    .locals 0

    return-void
.end method

.method private static e(Lorg/json/JSONObject;Landroid/content/Context;Lcom/donson/momark/a/r;Lcom/donson/momark/a/u;)V
    .locals 12

    :try_start_0
    iget-object v0, p2, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    sput-object v0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    iget-object v0, p2, Lcom/donson/momark/a/r;->j:Lcom/donson/momark/a/q;

    sput-object v0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    const-string v0, "ReturnInfoParser.parsePic"

    const-string v1, "===========================================parsePic"

    invoke-static {v0, v1}, Lcom/donson/momark/util/t;->d(Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "pic"

    invoke-virtual {p0, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "a"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "."

    invoke-virtual {v0, v1}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    const-string v2, "id"

    invoke-virtual {p0, v2}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v2

    const-string v3, "gif"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p2, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    const/4 v3, 0x1

    invoke-virtual {v1, v3}, Lcom/donson/momark/a/a/a;->a(Z)V

    :goto_0
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string v0, "con"

    invoke-virtual {p0, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v0

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    new-instance v5, Ljava/util/HashMap;

    invoke-direct {v5}, Ljava/util/HashMap;-><init>()V

    const/4 v6, 0x0

    :goto_1
    invoke-virtual {v0}, Lorg/json/JSONArray;->length()I

    move-result v7

    if-lt v6, v7, :cond_2

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    const/4 v7, 0x0

    :goto_2
    invoke-virtual {v0}, Lorg/json/JSONArray;->length()I

    move-result v8

    if-lt v7, v8, :cond_3

    sget-object v0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    new-instance v6, Landroid/widget/ImageView;

    invoke-direct {v6, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v6}, Lcom/donson/momark/a/q;->e(Landroid/widget/ImageView;)V

    sget-object v0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    new-instance v6, Lcom/donson/momark/view/view/v;

    invoke-direct {v6, p1, v2}, Lcom/donson/momark/view/view/v;-><init>(Landroid/content/Context;I)V

    invoke-virtual {v0, v6}, Lcom/donson/momark/a/q;->a(Lcom/donson/momark/view/view/v;)V

    iget-object p1, p2, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    invoke-virtual {p1}, Lcom/donson/momark/a/a/a;->c()Z

    move-result p1

    if-nez p1, :cond_4

    sget-object v0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    new-instance v6, Lcom/donson/momark/util/r;

    invoke-direct {v6}, Lcom/donson/momark/util/r;-><init>()V

    const/4 p1, 0x0

    invoke-interface {v1, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    const/4 v7, 0x6

    invoke-virtual {v6, p1, v7, p3}, Lcom/donson/momark/util/r;->a(Ljava/lang/String;ILcom/donson/momark/a/u;)Landroid/graphics/Bitmap;

    move-result-object p1

    invoke-virtual {v0, p1}, Lcom/donson/momark/a/q;->d(Landroid/graphics/Bitmap;)V

    :goto_3
    const-string p1, "err"

    invoke-virtual {p0, p1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result p1

    const-string v0, "st"

    invoke-virtual {p0, v0}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v0

    const-string v6, "nx"

    invoke-virtual {p0, v6}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v6

    const-string v7, "t"

    invoke-virtual {p0, v7}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v7

    const-string v8, "link"

    invoke-virtual {p0, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    const-string v9, "s"

    invoke-virtual {p0, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v9

    const-string v10, "z"

    invoke-virtual {p0, v10}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v10

    if-nez v10, :cond_0

    const-string v10, "z"

    invoke-virtual {p0, v10}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    sget-object v10, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {v10, p0}, Lcom/donson/momark/a/a/a;->e(Ljava/lang/String;)V

    :cond_0
    const/4 p0, 0x0

    iput-boolean p0, p2, Lcom/donson/momark/a/r;->f:Z

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {p0, p1}, Lcom/donson/momark/a/a/a;->a(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {p0, v2}, Lcom/donson/momark/a/a/a;->d(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {p0, v0}, Lcom/donson/momark/a/a/a;->g(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {p0, v6}, Lcom/donson/momark/a/a/a;->e(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {p0, v7}, Lcom/donson/momark/a/a/a;->h(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {p0, v9}, Lcom/donson/momark/a/a/a;->a(Ljava/lang/String;)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {p0, v1}, Lcom/donson/momark/a/a/a;->e(Ljava/util/List;)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {p0, v3}, Lcom/donson/momark/a/a/a;->d(Ljava/util/List;)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    invoke-virtual {p0, v8}, Lcom/donson/momark/a/a/a;->d(Ljava/lang/String;)V

    sget-object p0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    invoke-virtual {p0, v4}, Lcom/donson/momark/a/q;->a(Ljava/util/List;)V

    sget-object p0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    invoke-virtual {p0, v5}, Lcom/donson/momark/a/q;->a(Ljava/util/Map;)V

    :goto_4
    return-void

    :cond_1
    iget-object v1, p2, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    const/4 v3, 0x0

    invoke-virtual {v1, v3}, Lcom/donson/momark/a/a/a;->a(Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    :catch_0
    move-exception p0

    const-string p1, " ReturnInfoParser.parsePic 40006:advertise type is pic, data parse error."

    invoke-static {p1, p0}, Lcom/donson/momark/util/t;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance p0, Lcom/donson/momark/a/a/y;

    const p1, 0x9c46

    invoke-direct {p0, p1}, Lcom/donson/momark/a/a/y;-><init>(I)V

    invoke-virtual {p3, p0}, Lcom/donson/momark/a/u;->a(Lcom/donson/momark/a/a/y;)V

    goto :goto_4

    :cond_2
    :try_start_1
    invoke-virtual {v0, v6}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v7

    const-string v8, "img"

    invoke-virtual {v7, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    new-instance v8, Landroid/widget/ImageView;

    invoke-direct {v8, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    new-instance v9, Lcom/donson/momark/util/r;

    invoke-direct {v9}, Lcom/donson/momark/util/r;-><init>()V

    const/4 v10, 0x6

    invoke-virtual {v9, v7, v10, p3}, Lcom/donson/momark/util/r;->a(Ljava/lang/String;ILcom/donson/momark/a/u;)Landroid/graphics/Bitmap;

    move-result-object v9

    invoke-virtual {v8, v9}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    invoke-interface {v3, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-interface {v4, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string v9, "donson.momark"

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "--------------------imgStr="

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v10, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v9, v10}, Lcom/donson/momark/util/t;->d(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v5, v7, v8}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    add-int/lit8 v6, v6, 0x1

    goto/16 :goto_1

    :cond_3
    new-instance v8, Landroid/widget/ImageView;

    invoke-direct {v8, p1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-interface {v6, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v7, v7, 0x1

    goto/16 :goto_2

    :cond_4
    sget-object p1, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    invoke-virtual {p1}, Lcom/donson/momark/a/q;->h()Lcom/donson/momark/view/view/v;

    move-result-object v0

    const/4 p1, 0x0

    invoke-interface {v1, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    invoke-virtual {v0, v2, p1, p3}, Lcom/donson/momark/view/view/v;->a(ILjava/lang/String;Lcom/donson/momark/a/u;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_3
.end method

.method private static g(Lorg/json/JSONObject;)V
    .locals 0

    return-void
.end method

.method private static g(Lorg/json/JSONObject;Landroid/content/Context;Lcom/donson/momark/a/r;Lcom/donson/momark/a/u;)V
    .locals 19

    move-object/from16 v0, p2

    iget-object v0, v0, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    move-object v4, v0

    sput-object v4, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p2

    iget-object v0, v0, Lcom/donson/momark/a/r;->j:Lcom/donson/momark/a/q;

    move-object v4, v0

    sput-object v4, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    :try_start_0
    const-string v4, "ReturnInfoParser.parseTextPic"

    const-string v5, "===========================================parseTextPic"

    invoke-static {v4, v5}, Lcom/donson/momark/util/t;->d(Ljava/lang/String;Ljava/lang/String;)V

    const-string v4, "at"

    move-object/from16 v0, p0

    move-object v1, v4

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v4

    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    const/4 v6, 0x0

    invoke-virtual {v4, v6}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v6

    const-string v7, "a"

    invoke-virtual {v6, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    const/4 v7, 0x0

    invoke-virtual {v4, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    const-string v7, "b"

    invoke-virtual {v4, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-interface {v5, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-interface {v5, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string v4, "pic"

    move-object/from16 v0, p0

    move-object v1, v4

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v4

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    const/4 v7, 0x0

    invoke-virtual {v4, v7}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v7

    const-string v8, "l"

    invoke-virtual {v7, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    const/4 v8, 0x0

    invoke-virtual {v4, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v8

    const-string v9, "r"

    invoke-virtual {v8, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    const/4 v9, 0x0

    invoke-virtual {v4, v9}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    const-string v9, "b"

    invoke-virtual {v4, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    const-string v9, "con"

    move-object/from16 v0, p0

    move-object v1, v9

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v9

    new-instance v10, Ljava/util/ArrayList;

    invoke-direct {v10}, Ljava/util/ArrayList;-><init>()V

    new-instance v11, Ljava/util/ArrayList;

    invoke-direct {v11}, Ljava/util/ArrayList;-><init>()V

    new-instance v12, Ljava/util/HashMap;

    invoke-direct {v12}, Ljava/util/HashMap;-><init>()V

    const-string v13, "id"

    move-object/from16 v0, p0

    move-object v1, v13

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v13

    const/4 v14, 0x0

    :goto_0
    invoke-virtual {v9}, Lorg/json/JSONArray;->length()I

    move-result v15

    if-lt v14, v15, :cond_1

    invoke-interface {v6, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-interface {v6, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-interface {v6, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    sget-object v9, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    new-instance v14, Landroid/widget/ImageView;

    move-object v0, v14

    move-object/from16 v1, p1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v9, v14}, Lcom/donson/momark/a/q;->a(Landroid/widget/ImageView;)V

    sget-object v9, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    new-instance v14, Landroid/widget/ImageView;

    move-object v0, v14

    move-object/from16 v1, p1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v9, v14}, Lcom/donson/momark/a/q;->d(Landroid/widget/ImageView;)V

    sget-object v9, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    new-instance v14, Landroid/widget/ImageView;

    move-object v0, v14

    move-object/from16 v1, p1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v9, v14}, Lcom/donson/momark/a/q;->e(Landroid/widget/ImageView;)V

    sget-object v9, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    new-instance v14, Lcom/donson/momark/util/r;

    invoke-direct {v14}, Lcom/donson/momark/util/r;-><init>()V

    const/4 v15, 0x7

    move-object v0, v14

    move-object v1, v7

    move v2, v15

    move-object/from16 v3, p3

    invoke-virtual {v0, v1, v2, v3}, Lcom/donson/momark/util/r;->a(Ljava/lang/String;ILcom/donson/momark/a/u;)Landroid/graphics/Bitmap;

    move-result-object v7

    invoke-virtual {v9, v7}, Lcom/donson/momark/a/q;->a(Landroid/graphics/Bitmap;)V

    sget-object v7, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    new-instance v9, Lcom/donson/momark/util/r;

    invoke-direct {v9}, Lcom/donson/momark/util/r;-><init>()V

    const/4 v14, 0x6

    move-object v0, v9

    move-object v1, v4

    move v2, v14

    move-object/from16 v3, p3

    invoke-virtual {v0, v1, v2, v3}, Lcom/donson/momark/util/r;->a(Ljava/lang/String;ILcom/donson/momark/a/u;)Landroid/graphics/Bitmap;

    move-result-object v4

    invoke-virtual {v7, v4}, Lcom/donson/momark/a/q;->d(Landroid/graphics/Bitmap;)V

    sget-object v4, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    new-instance v7, Lcom/donson/momark/util/r;

    invoke-direct {v7}, Lcom/donson/momark/util/r;-><init>()V

    const/4 v9, 0x7

    move-object v0, v7

    move-object v1, v8

    move v2, v9

    move-object/from16 v3, p3

    invoke-virtual {v0, v1, v2, v3}, Lcom/donson/momark/util/r;->a(Ljava/lang/String;ILcom/donson/momark/a/u;)Landroid/graphics/Bitmap;

    move-result-object v7

    invoke-virtual {v4, v7}, Lcom/donson/momark/a/q;->e(Landroid/graphics/Bitmap;)V

    const-string v4, "err"

    move-object/from16 v0, p0

    move-object v1, v4

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v4

    const-string v7, "nx"

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v7

    const-string v8, "st"

    move-object/from16 v0, p0

    move-object v1, v8

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v8

    const-string v9, "t"

    move-object/from16 v0, p0

    move-object v1, v9

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v9

    const-string v14, "s"

    move-object/from16 v0, p0

    move-object v1, v14

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v14

    const-string v15, "link"

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v15

    const-string v16, "z"

    move-object/from16 v0, p0

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v16

    if-nez v16, :cond_0

    const-string v16, "z"

    move-object/from16 v0, p0

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    sget-object v16, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, v16

    move-object/from16 v1, p0

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->e(Ljava/lang/String;)V

    :cond_0
    new-instance v16, Landroid/widget/TextView;

    move-object/from16 v0, v16

    move-object/from16 v1, p1

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    const/16 p0, 0x0

    move-object v0, v5

    move/from16 v1, p0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/CharSequence;

    move-object/from16 v0, v16

    move-object/from16 v1, p0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v17, Landroid/widget/TextView;

    move-object/from16 v0, v17

    move-object/from16 v1, p1

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    const/16 p0, 0x1

    move-object v0, v5

    move/from16 v1, p0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/CharSequence;

    move-object/from16 v0, v17

    move-object/from16 v1, p0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/16 p0, 0x0

    move/from16 v0, p0

    move-object/from16 v1, p2

    iput-boolean v0, v1, Lcom/donson/momark/a/r;->f:Z

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move v1, v4

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->a(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move v1, v13

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->d(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move v1, v7

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->e(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move v1, v8

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->g(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move-object v1, v5

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->a(Ljava/util/List;)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move-object v1, v6

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->e(Ljava/util/List;)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->d(Ljava/lang/String;)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move v1, v9

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->h(I)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move-object v1, v14

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->a(Ljava/lang/String;)V

    sget-object p0, Lcom/donson/momark/b/q;->a:Lcom/donson/momark/a/a/a;

    move-object/from16 v0, p0

    move-object v1, v10

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/a/a;->d(Ljava/util/List;)V

    sget-object p0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    move-object/from16 v0, p0

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/q;->a(Landroid/widget/TextView;)V

    sget-object p0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    move-object/from16 v0, p0

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/q;->d(Landroid/widget/TextView;)V

    sget-object p0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    move-object/from16 v0, p0

    move-object v1, v11

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/q;->a(Ljava/util/List;)V

    sget-object p0, Lcom/donson/momark/b/q;->d:Lcom/donson/momark/a/q;

    move-object/from16 v0, p0

    move-object v1, v12

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/q;->a(Ljava/util/Map;)V

    :goto_1
    return-void

    :cond_1
    invoke-virtual {v9, v14}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v15

    const-string v16, "img"

    invoke-virtual/range {v15 .. v16}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v15

    new-instance v16, Landroid/widget/ImageView;

    move-object/from16 v0, v16

    move-object/from16 v1, p1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-static {}, Lcom/donson/momark/util/r;->a()Lcom/donson/momark/util/r;

    move-result-object v17

    const/16 v18, 0x6

    move-object/from16 v0, v17

    move-object v1, v15

    move/from16 v2, v18

    move-object/from16 v3, p3

    invoke-virtual {v0, v1, v2, v3}, Lcom/donson/momark/util/r;->a(Ljava/lang/String;ILcom/donson/momark/a/u;)Landroid/graphics/Bitmap;

    move-result-object v17

    invoke-virtual/range {v16 .. v17}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    invoke-interface {v10, v15}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    move-object v0, v11

    move-object/from16 v1, v16

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    move-object v0, v12

    move-object v1, v15

    move-object/from16 v2, v16

    invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    add-int/lit8 v14, v14, 0x1

    goto/16 :goto_0

    :catch_0
    move-exception p0

    const-string p1, " ReturnInfoParser.parseTextPic 40007\uff1aadvertise type is textpic, data parse error."

    move-object/from16 v0, p1

    move-object/from16 v1, p0

    invoke-static {v0, v1}, Lcom/donson/momark/util/t;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance p0, Lcom/donson/momark/a/a/y;

    const p1, 0x9c47

    invoke-direct/range {p0 .. p1}, Lcom/donson/momark/a/a/y;-><init>(I)V

    move-object/from16 v0, p3

    move-object/from16 v1, p0

    invoke-virtual {v0, v1}, Lcom/donson/momark/a/u;->a(Lcom/donson/momark/a/a/y;)V

    goto :goto_1
.end method
